package cn.edu.njust.utils;

import cn.edu.njust.alg.leetcode.TreeNode;

public class TreeNodeUtils {

	public static void printList(TreeNode head) {
		if (head == null) {
			return;
		}
		System.out.print(head.val +" ");
		printList(head.left);
		printList(head.right);

	}

}
